
import request from '@/utils/request'

// 查询列表
export function getPageList(params) {
  return request({
    url: '/system/apiPartner/getPageList',
    method: 'get',
    params
  })
}

//详情列表
export function queryInfo(params) {
  return request({
    url: '/system/apiPartner/query',
    method: 'get',
    params
  })
}
//新增
export function queryAdd(data) {
  return request({
    url: '/system/apiPartner/add',
    method: 'post',
    data
  })
}
//编辑
export function queryEdit(data) {
  return request({
    url: '/system/apiPartner/edit',
    method: 'post',
    data
  })
}
//删除
export function queryDelete(params) {
  return request({
    url: '/system/apiPartner/delete',
    method: 'get',
    params
  })
}
